package com.example.demo.modules.base.service;

import com.example.demo.base.XbootBaseService;
import com.example.demo.modules.base.entity.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 角色接口
 * @author yw
 */
public interface RoleService extends XbootBaseService<Role,Integer> {

    /**
     * 获取默认角色
     * @param defaultRole
     * @return
     */
    List<Role> findByDefaultRole(Boolean defaultRole);

}